package cn.wolfcode.ssm.service;

import cn.wolfcode.ssm.domain.Permission;
import cn.wolfcode.ssm.qo.PageResult;
import cn.wolfcode.ssm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {

    void delete(Long id);

    void save(Permission permission);

    Permission getOne(Long id);

    List<Permission> getAll();

    void update(Permission permission);

    PageInfo<Permission> selectForPageResult(QueryObject qo);

    void reload();
    List<String> selectByEmpId(Long id);
}
